package com.mall.shop.entity.product;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * 品牌分类关联(CategoryBrandRelation)表实体类
 *
 * @author 龙茶清欢
 * @since 2023-01-16 15:11:28
 */
@Getter
@Setter
@TableName("pms_category_brand_relation")
@Schema(name = "品牌分类关联实体", description = "品牌分类关联映射")
public class CategoryBrandRelation implements Serializable {
    private static final long serialVersionUID = 296811572082027183L;

    @TableId(value = "id" , type = IdType.AUTO)
    @Schema(description = "")
    private Long id;

    @TableField(value = "brand_id")
    @Schema(description = "品牌id")
    private Long brandId;
    
    @TableField(value = "catelog_id")
    @Schema(description = "分类id")
    private Long catelogId;
    
    @TableField(value = "brand_name")
    @Schema(description = "")
    private String brandName;
    
    @TableField(value = "catelog_name")
    @Schema(description = "")
    private String catelogName;
    
}

